package xyz.bali16.module.notification.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加消息参数")
public class NotificationAddParam {
    @ApiModelProperty(name = "status", value = "消息状态,NotificationStatusEnum的内容", required = false)
    private Integer status;
    @ApiModelProperty(name = "notifierId", value = "消息发送者Id", required = true)
    private String notifierId;
    @ApiModelProperty(name = "receiverId", value = "消息接收者Id(0为所有人，也可以与notifierId相同)", required = true)
    private String receiverId;
    @ApiModelProperty(name = "notifierName", value = "消息发送者名字", required = true)
    private String notifierName;
    @ApiModelProperty(name = "outerTitle", value = "外部者内容的标题", required = true)
    private String outerTitle;
    @ApiModelProperty(name = "outerId", value = "外部者Id,比如问题Id、文章Id", required = true)
    private String outerId;
    @ApiModelProperty(name = "typeName", value = "NotificationTypeEnum的类型名字", required = true)
    private String typeName;
    @ApiModelProperty(name = "type", value = "NotificationTypeEnum的类型", required = true)
    private Integer type;
}
